home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 April / Software of the Month Club 1996 April.iso / mac / Education / LogoMation 1.1.1 ƒ / Documentation ƒ / LogoMation's Tutorial / LogoMation's Tutorial.rsrc / PICT_28.png < prev    next >
Portable Network Graphic  |  1995-09-29  |  128KB  |  816x1056  |  8-bit (256 colors)
Labels: text | font | document | paper | black and white | letter
OCR: 28 OK, so what have we got here? Everything seems new, and yet some things looks familiar. Let's read it together. The first line is a comment, which is always a good idea. The comment says that we are defining a function. A function is something that youdefin _, which is something that we did not see before. When we define a function, we just tell LogoMation that if we ever use that function, this is what it should do. But we are not askingLogoMation to do anything yet. Programmers also call this "declaration", because we declare something to be such and such. The second line is the actual beginning of the function. As usual in LogoMation, we use indentation to define where the function definition ends. So, our function has seven lines altogether - the line that starts with Function , and ...